Remove all non-configurable dead loops
authorAntonio Nino Diaz <[email protected]>
Mon, 1 Feb 2016 13:57:25 +0000 (13:57 +0000)
committerAntonio Nino Diaz <[email protected]>
Mon, 14 Mar 2016 16:41:18 +0000 (16:41 +0000)
commit1c3ea103d28760a04e457678bf60725ae761c28f
treef6614d5fde45a1ffc456eb200239353512dee99f
parent195d29f399759813cd42ea2b8d3133ba426e2ba2
Remove all non-configurable dead loops

Added a new platform porting function plat_panic_handler, to allow
platforms to handle unexpected error situations. It must be
implemented in assembly as it may be called before the C environment
is initialized. A default implementation is provided, which simply
spins.

Corrected all dead loops in generic code to call this function
instead. This includes the dead loop that occurs at the end of the
call to panic().

All unnecesary wfis from bl32/tsp/aarch64/tsp_exceptions.S have
been removed.

Change-Id: I67cb85f6112fa8e77bd62f5718efcef4173d8134
12 files changed:
bl2/aarch64/bl2_entrypoint.S
bl2u/aarch64/bl2u_entrypoint.S
bl31/aarch64/crash_reporting.S
bl32/tsp/aarch64/tsp_entrypoint.S
bl32/tsp/aarch64/tsp_exceptions.S
common/aarch64/debug.S
docs/porting-guide.md
include/common/el3_common_macros.S
include/plat/common/platform.h
plat/arm/board/fvp/aarch64/fvp_helpers.S
plat/arm/board/juno/aarch64/juno_helpers.S
plat/common/aarch64/platform_helpers.S